module ProjectHelper
  def profit_or_loss(earnings,spendings)
    pl = earnings-spendings
    ret = "<font color='#{pl > 0 ? 'green' : 'red'}'>#{pl}</font>"
  end
end
